using System;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;

public partial class site : System.Web.UI.MasterPage
{
  protected void Page_Load(object sender, EventArgs e)
  {

        if (Page.User.Identity.IsAuthenticated)
        {
            aLogin.InnerHtml = string.Concat("<span>", Resources.labels.logoff, "</span>");
            aLogin.HRef = BlogEngine.Core.Utils.RelativeWebRoot + "login.aspx?logoff";
        }
        else
        {
            aLogin.HRef = BlogEngine.Core.Utils.RelativeWebRoot + "login.aspx";
            aLogin.InnerHtml = string.Concat("<span>", Resources.labels.login, "</span>");
            //aLogin.InnerText = Resources.labels.login;

        }
  }

}
